-
Notifications
You must be signed in to change notification settings - Fork 6
Add labeler #218
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add labeler #218
Conversation
…configuration file.
|
Caution Review failedThe pull request is closed. WalkthroughAdds GitHub PR labeling: a labeler configuration mapping file globs to labels and a GitHub Actions workflow that runs the labeler on pull_request_target events. Changes
Sequence Diagram(s)sequenceDiagram
participant PR as Pull Request
participant GH as GitHub Actions (runner)
participant Repo as Repository (files)
participant Labeler as actions/labeler@v6
PR->>GH: open/update PR (pull_request_target)
GH->>Repo: read `.github/labeler.yml`
GH->>Labeler: execute labeler with repo content
Labeler->>Repo: evaluate changed files against globs
Labeler->>GH: request apply/update labels on PR
GH->>PR: apply labels
Estimated Code Review Effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
🤖 Fix all issues with AI agents
In @.github/labeler.yml:
- Around line 20-22: The glob pattern "**/.github/**/*" is too broad and only
matches .github directories at any depth; update the changed-files pattern under
the "github actions" labeler entry to target the repository root .github
directory by replacing "**/.github/**/*" with either ".github/**/*" or
".github/**" so the root .github files are matched as intended.
Description
Closes #214
PR Checklist
bun docsSummary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.